# 逻辑运算符
"""
and  与 运算   并且
or   或 运算   或者
not  非 运算   取反
"""
a = 18
b = 20
c = 16

print(a > b  and  a > c) # False
print(a < b  and  a < c) # False
print(a > b  and  a < c) # False
print(a < b  and  a > c) # True  [全真则真,有假则假]

print(a > b  or  a > c) # True
print(a < b  or  a < c) # True
print(a > b  or  a < c) # False [有真则真,全假则假]
print(a < b  or  a > c) # True

print(not a > b) # True